<fieldset><legend>推荐一个物</legend>
<span style="color:#9A9A9A">带星号(*)的为必填项</span>
<div id="new">
	<form action="{$URL_submit_thing}" method="post" id="thisform">
		<label>*网址</label>
		<!--<table>
			<tr>
				<td style="width:80px">
				<input type="radio" onclick="document.getElementById('nourl').value='false'; document.getElementById('first_user_hint').innerHTML = '您是首次推荐者，请填写以下内容';" name="setnourl" value="false" CHECKED>有网址
				</td>
				<td>
				<input type="radio" onclick="document.getElementById('nourl').value='true'; document.getElementById('first_user_hint').innerHTML = '请预先确认其他人未推荐此物，并填写以下内容';" name="setnourl" value="true" >没有网址
				</td>		
			</tr>
		</table>-->
		<input onblur="if (this.value == '') this.value = 'http://'; if ((this.value=='') || (this.value == 'http://')) document.getElementById ('submit_urlcheckitvalue').innerHTML = '请输入网址'; else document.getElementById ('submit_urlcheckitvalue').innerHTML = ''; if ((this.value != '') && (this.value != 'http://')) dealurl(this.value);" onfocus="if (this.value == '') this.value = 'http://';" size="45" value="{$submit_url}" type="text" name="submit_url" id="submit_url" >
		<span id="submit_urlcheckitvalue" name ="submit_urlcheckitvalue" style="color: red">{$urlcheck}</span>
		{if $grouplist}
		<label>小组</label><span style="color:#9A9A9A">推荐到我在的小组</span><br>
		<select style="width:80px" id="group_name" name="group_name" onchange="document.getElementById('group').value = document.getElementById('group_name').value;">
			<option value=0 selected='selected'></option>
			{section name=nr loop=$grouplist}
			<option value={$grouplist[nr].group_id}>{$grouplist[nr].group_name}</option>
			{/section}
		</select>
		{/if}
		<label>*评论<span id="desccheckitvalue" style="color: red">{$desccheck}</span></label>
		<textarea name="desc" rows="15" cols="60" id="desc" WRAP=SOFT >{$desc}</textarea><br />
		
		<div id="newreco" style="display:{if $alreadydigg=='true'}none{/if}">
		<fieldset><legend>首次推荐</legend>
		<span id="first_user_hint" style="color:#9A9A9A">您是首次推荐者，请填写以下内容</span><br>
		<div id="divtrackback" style="display:">
			<label>反馈地址<span style="color:#9A9A9A">(Trackback)</span></label>
			<span style="color:#9A9A9A">所有对此物的评论将发送到这个地址</span><br>
			<input type="text" size="45" id="trackback" class="text" name="trackback" value="{$trackback}"  />
			<span id="trackbackcheckitvalue" style="color: red">{$trackbackcheck}</span>
		</div>
		<label>标签</label>
		<span style="color:#9A9A9A">此物的标签，标签间使用逗号隔开，如 产品设计师,系统架构,移动互联网</span><br>
		<input type="text" size="60" id="tags" class="text" name="tags" value="{$tags}"  />
		<span id="tagscheckitvalue" style="color: red">{$tagscheck}</span>
		
		<label>*标题</label>
		<span style="color:#9A9A9A">描述此物的一句话（最多60个字），作为此次推荐的标题</span><br>
		<input type="text" id="title" class="text" name="title" value="{$title}" size="60" maxlength="120" />
		<span id="titlecheckitvalue" style="color: red">{$titlecheck}</span>
		</fieldset>
		</div>
		
		<input type="hidden" id="group" name="group" value={$group} />
		<input type="hidden" name="phase" value=1>
		<input type="hidden" id="randkey" name="randkey" value={$submit_rand}>
		<input type="hidden" id="alreadydigg" name="alreadydigg" value='{$alreadydigg}'>
		<input type="hidden" id="urlcheck" name="urlcheck" value='{$urlcheck}'>
		<input type="hidden" name="id" value="c_1">
		<input type="hidden" id="owner" name="owner" value={$owner}>
		<input type="hidden" id="url_is_valid" name="url_is_valid" value="false">
		<!--<input type="hidden" id="nourl" name="nourl" value="false">-->
		<br>
		<input type="submit" value="推荐:)" onmouseover="this.style.background='#774525';this.style.color='#fff';" onmouseout="this.style.background='#fff';this.style.color='#774525';" style="text-decoration:none;background:#fff;border:1px solid #ccc;margin-right:1px;padding:2px 5px;color:#774525" align="right" />
	</form>
	<br />
</div>
</fieldset>
